package com.dronff.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author tyf
 * @date 2022/7/21 18:18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("orders")
public class Orders {
    @TableId(value = "id",type = IdType.AUTO)
    Integer id;
    @TableField("money")
    Integer money;
    @TableField("time")
    String time;
    @TableField("user_id")
    Integer userId;
}
